package com.df.orderserver.api.order.service;

import com.df.orderserver.api.order.bean.UserInfo;
import org.springframework.stereotype.Component;

/**
 * @author: lichong
 * @email: li_chong@massclouds
 * @Date: 2020/5/13 11:53
 * @Description:
 */
@Component
public class UserFeignServiceFallback implements IUserFeignService {
    @Override
    public String getUserName(String name) {
        return "调用失败============";
    }

    @Override
    public UserInfo getUserInfo(UserInfo userInfo) {
        userInfo = new UserInfo();
        return userInfo;
    }
}
